Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 17, 2025

Plan to build automation for tracking merged PRs:

  • Update README.md with a table structure for merged PRs (PR #, Title, Link, Year, Tags)
  • Create GitHub Actions workflow to automatically update README when PRs are merged
  • Add example entry to demonstrate table format
  • Validate workflow file syntax (fixed trailing spaces and line length issues)
  • Test workflow logic locally to ensure it works correctly
  • Create comprehensive setup documentation (SETUP.md)
  • Add .gitignore for temporary files
  • Add Quick Start section to README
  • Add Features section highlighting key capabilities
  • Add workflow process diagram
  • Final code review completed
  • Security check with CodeQL (no issues found)
  • Add historical merged PRs (19 PRs from various repositories)
  • Create backfill script for fetching historical PRs
  • Update documentation with backfill instructions
  • Fix table rendering by moving HTML comments outside the table

Latest Fix (addressing user feedback):
✅ Moved <!-- PR_LIST_START --> and <!-- PR_LIST_END --> markers outside the markdown table
✅ Updated GitHub Actions workflow to insert rows based on table header position
✅ Updated backfill script to work with new marker positions
✅ This ensures the table renders properly in GitHub's markdown renderer

The HTML comments were breaking the table rendering when placed inside it. Now the table should display correctly as a formatted table on GitHub.

Original prompt

i want to build an automation github repo that can explain all my merged PR's
create the repository (note that readme should contain a table with list of merged PR's, Links, Year, #tag number)
once a PR is merged then this list should be extended with merged details


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Nov 17, 2025
Copilot AI changed the title [WIP] Create automation GitHub repo for merged PRs Add automated merged PR tracking with GitHub Actions Nov 17, 2025
Copilot AI requested a review from SumithThota November 17, 2025 07:36
Copy link
Owner

@SumithThota SumithThota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok good to go

@SumithThota
Copy link
Owner

@copilot even I want all my previous merges

Copy link
Contributor Author

Copilot AI commented Nov 17, 2025

@copilot even I want all my previous merges

Added all 19 of your previously merged PRs from across GitHub! The README now includes contributions from:

  • ServiceNowDevProgram/code-snippets (6 PRs)
  • Various open-source projects like Pathsphere, CalcDiverse, WildGuard, and more (13 PRs)
  • Spanning 2024-2025 with full details (PR #, title, link, year, tags)

Also created a backfill script (scripts/backfill-historical-prs.sh) that you can run anytime to fetch and add more historical PRs automatically.

Commit: 9438b09

Copilot AI changed the title Add automated merged PR tracking with GitHub Actions Add automated merged PR tracking with GitHub Actions and historical PRs backfill Nov 17, 2025
Copilot AI requested a review from SumithThota November 17, 2025 08:06
Copy link
Owner

@SumithThota SumithThota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| #2392 | Prevent invalid user ID (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2392 | 2025 | - | | #2381 | Correct Readme files added according to the scripts (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2381 | 2025 | - | | #2376 | Script to update all email domains (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2376 | 2025 | - | | #1 | Event Space booking Application (SumithThota/Servicenow) | SumithThota/Servicenow#1 | 2025 | - | | #2064 | Add CartJS script to submit catalog items (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2064 | 2025 | - | | #2052 | Bugfix added comprehensive email regex pattern (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2052 | 2025 | - | | #843 | Successfully enhanced box shadow of DIV's in both Scholarship pages (aditya-bhaumik/Pathsphere) | aditya-bhaumik/Pathsphere#843 | 2024 | gssoc-ext, level 1, hacktoberfest-accepted | | #550 | Update auto-assign-label-pr.yml (swaraj-das/Collect-your-GamingTools) | swaraj-das/Collect-your-GamingTools#550 | 2024 | - | | #549 | Successfully youtube icon got responsive with hover (swaraj-das/Collect-your-GamingTools) | swaraj-das/Collect-your-GamingTools#549 | 2024 | gssoc-ext, level1, hacktoberfest-accepted | | #1262 | Hover effect successfully added to Login & Register Buttons (anuragverma108/WildGuard) | anuragverma108/WildGuard#1262 | 2024 | hacktoberfest-accepted, hacktoberfest | | #445 | Update add-your-certificate.md (GSSoC24/Postman-Challenge) | GSSoC24/Postman-Challenge#445 | 2024 | postman, gssoc | | #1323 | Margin is added to each card successfully (khushi-joshi-05/Food-ordering-website) | khushi-joshi-05/Food-ordering-website#1323 | 2024 | gssoc | | #1548 | Added Centroid Of A Triangle Calculator (Rakesh9100/CalcDiverse) | Rakesh9100/CalcDiverse#1548 | 2024 | Completed 🥳, gssoc, level3 | | #934 | fix: Issue #861 Removed improper Flickering of elements (apu52/Travel_Website) | apu52/Travel_Website#934 | 2024 | bug, level1, gssoc | | #1001 | Navbar Position is fixed Properly (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#1001 | 2024 | gssoc, level1 | | #1440 | Added Trisection Point Calculator (Rakesh9100/CalcDiverse) | Rakesh9100/CalcDiverse#1440 | 2024 | Completed 🥳, gssoc, level3 | | #972 | Sets proper fonts size to FAQs (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#972 | 2024 | gssoc, level1 | | #923 | Hover to quicklinks is added to all pages & FAQ is added (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#923 | 2024 | gssoc, level2 | | #898 | Updated welcome div by enhancing it & added glow effect (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#898 | 2024 | gssoc, level1 | not in table format

@SumithThota SumithThota marked this pull request as ready for review November 17, 2025 09:34
@SumithThota
Copy link
Owner

@copilot | #2392 | Prevent invalid user ID (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2392 | 2025 | - | | #2381 | Correct Readme files added according to the scripts (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2381 | 2025 | - | | #2376 | Script to update all email domains (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2376 | 2025 | - | | #1 | Event Space booking Application (SumithThota/Servicenow) | SumithThota/Servicenow#1 | 2025 | - | | #2064 | Add CartJS script to submit catalog items (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2064 | 2025 | - | | #2052 | Bugfix added comprehensive email regex pattern (ServiceNowDevProgram/code-snippets) | ServiceNowDevProgram/code-snippets#2052 | 2025 | - | | #843 | Successfully enhanced box shadow of DIV's in both Scholarship pages (aditya-bhaumik/Pathsphere) | aditya-bhaumik/Pathsphere#843 | 2024 | gssoc-ext, level 1, hacktoberfest-accepted | | #550 | Update auto-assign-label-pr.yml (swaraj-das/Collect-your-GamingTools) | swaraj-das/Collect-your-GamingTools#550 | 2024 | - | | #549 | Successfully youtube icon got responsive with hover (swaraj-das/Collect-your-GamingTools) | swaraj-das/Collect-your-GamingTools#549 | 2024 | gssoc-ext, level1, hacktoberfest-accepted | | #1262 | Hover effect successfully added to Login & Register Buttons (anuragverma108/WildGuard) | anuragverma108/WildGuard#1262 | 2024 | hacktoberfest-accepted, hacktoberfest | | #445 | Update add-your-certificate.md (GSSoC24/Postman-Challenge) | GSSoC24/Postman-Challenge#445 | 2024 | postman, gssoc | | #1323 | Margin is added to each card successfully (khushi-joshi-05/Food-ordering-website) | khushi-joshi-05/Food-ordering-website#1323 | 2024 | gssoc | | #1548 | Added Centroid Of A Triangle Calculator (Rakesh9100/CalcDiverse) | Rakesh9100/CalcDiverse#1548 | 2024 | Completed 🥳, gssoc, level3 | | #934 | fix: Issue #861 Removed improper Flickering of elements (apu52/Travel_Website) | apu52/Travel_Website#934 | 2024 | bug, level1, gssoc | | #1001 | Navbar Position is fixed Properly (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#1001 | 2024 | gssoc, level1 | | #1440 | Added Trisection Point Calculator (Rakesh9100/CalcDiverse) | Rakesh9100/CalcDiverse#1440 | 2024 | Completed 🥳, gssoc, level3 | | #972 | Sets proper fonts size to FAQs (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#972 | 2024 | gssoc, level1 | | #923 | Hover to quicklinks is added to all pages & FAQ is added (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#923 | 2024 | gssoc, level2 | | #898 | Updated welcome div by enhancing it & added glow effect (Suchitra-Sahoo/AgriLearnNetwork) | Suchitra-Sahoo/AgriLearnNetwork#898 | 2024 | gssoc, level1 | not in table format

@SumithThota
Copy link
Owner

@copilot make sure data to be in table format\

Copy link
Contributor Author

Copilot AI commented Nov 17, 2025

@copilot make sure data to be in table format\

Fixed! The HTML comment markers were breaking the table rendering. Moved them outside the table structure so GitHub's markdown renderer can properly display it as a formatted table.

Changes in commit 2ea66cc:

  • Moved <!-- PR_LIST_START --> and <!-- PR_LIST_END --> outside the table
  • Updated workflow to insert rows by finding the table header position
  • Updated backfill script to match new structure

The table should now render properly on GitHub.

@SumithThota SumithThota merged commit 2f0c38b into main Nov 17, 2025
github-actions bot added a commit that referenced this pull request Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants